module.exports = {
    title: '项目技术文档',
    description: '项目技术文档',
    head: [ // 注入到当前页面的 HTML <head> 中的标签
        ['link', {rel: 'icon', href: '/images/photo.jpg'}],
        ['link', {rel: 'manifest', href: '/images/photo.jpg'}],
        ['link', {rel: 'apple-touch-icon', href: '/images/photo.jpg'}],
        ['meta', {'http-quiv': 'pragma', cotent: 'no-cache'}],
        ['meta', {'http-quiv': 'pragma', cotent: 'no-cache,must-revalidate'}],
        ['meta', {'http-quiv': 'expires', cotent: '0'}]
    ],
    serviceWorker: true, // 是否开启 PWA
    base: '/blog/', // 部署到github相关的配置
    markdown: {
        lineNumbers: true // 代码块是否显示行号
    },
    themeConfig: {
        nav: [ // 导航栏配置
            {text:'指南',link:'/guide'},
            {
                text: '机器人项目',
                link: '/robot/'
            },
            {text: '管控平台项目', link: '/jkpt/'},
            {text: '官网', link: 'http://jinyunxx.com'}
        ],
        sidebar: {
            '/robot/': [
                {
                    title: '分组1',
                    collapsable: false,
                    children: [
                        '',
                        'one',
                        'two'
                    ]
                },
                {
                    title: '分组2',
                    collapsable: false,
                    children: [
                        'four',
                        'five'
                    ]
                }
            ],
            '/jkpt/':[
                {
                    title: '管理后台',
                    collapsable: false,
                    children:[
                        '前后端调用接口说明',
                        'two'
                    ]
                },
                {
                    title: '排队叫号',
                    collapsable: false,
                    children: [
                        'four',
                        'five'
                    ]
                }
            ]

        },
        sidebarDepth: 2
    }
};
